package com.arpa.wms.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.arpa.ntocc.common.common.util.excel.StringConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: Allen chen
 * @Date 2020/11/16
 * @Description:
 */
@Data
public class GoodsExcelVO implements Serializable {

    @ApiModelProperty(value = "货主编码")
    private String shipmentSerialNumber;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "货主code")
    private String shipmentCode;

    @ApiModelProperty(value = "商品分类名称")
    private String goodsTypeName;

    @ApiModelProperty(value = "商品分类code")
    private String goodsTypeCode;

    @ApiModelProperty(value = "商品编号")
    private String goodCode;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "单位code")
    private String unitCode;

    @ApiModelProperty(value = "单位业务编号")
    @ExcelProperty(converter = StringConverter.class)
    private String unitNum;

    @ApiModelProperty(value = "基本单位精度")
    private String unitPrecision;

    @ApiModelProperty(value = "规格")
    private String spec;

    @ApiModelProperty(value = "批次规则")
    private String lotNumberName;

    @ApiModelProperty(value = "批次规则code")
    private String lotNumber;

    //定义死的   0：原料 1：成品  2：半成品
    @ApiModelProperty(value = "商品类型Code")
    private String type;

    @ApiModelProperty(value = "商品类型")
    private String typeName;

    @ApiModelProperty(value = "可销售 0：否，1：是")
    private String sale;

    @ApiModelProperty(value = "可销售文字")
    private String saleName;

    @ApiModelProperty(value = "可采购 0：否，1：是")
    private String purchase;

    @ApiModelProperty(value = "可采购文字")
    private String purchaseName;

    @ApiModelProperty(value = "保质期（天）")
    private String quality;

    @ApiModelProperty(value = "混放策略 0:商品混放，1：批次混放，2：混放，3：不混放")
    private String storageStrategy;

    @ApiModelProperty(value = "混放策略名")
    private String storageStrategyName;

    @ApiModelProperty(value = "临期预警（天）")
    private String earlyWarning;

    @ApiModelProperty(value = "收货预警（天）")
    private String receivingWarning;

    @ApiModelProperty(value = "发货预警（天）")
    private String sendWarning;

    @ApiModelProperty(value = "品牌code")
    private String brandCode;

    @ApiModelProperty(value = "品牌名")
    private String brandName;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "件装量")
    private String quantity;

    @ApiModelProperty(value = "长")
    private String length;

    @ApiModelProperty(value = "宽")
    private String width;

    @ApiModelProperty(value = "高")
    private String height;

    @ApiModelProperty(value = "重量")
    private String weight;

    @ApiModelProperty(value = "体积")
    private String volume;

    @ApiModelProperty(value = "进货价格")
    private String receiptPrice;

    @ApiModelProperty(value = "销售价格")
    private String deliveryPrice;

    @ApiModelProperty(value = "导入序号")
    private String importCode;

    @ApiModelProperty(hidden = true)
    private String id;

    @ApiModelProperty(hidden = true,value = "数据标识")
    private String code;

    @ApiModelProperty(hidden = true)
    private String createdBy;

    @ApiModelProperty(hidden = true)
    private String createdName;

    @ApiModelProperty(hidden = true)
    private String modifiedName;

    @ApiModelProperty(hidden = true)
    private String modifiedBy;


    @ApiModelProperty(hidden = true)
    private LocalDateTime gmtCreated;


    @ApiModelProperty(hidden = true,value = "状态，0-启用，1-停用")
    private String status;

}
